package com.snake.springboot.custom.api.model.login;


import io.swagger.annotations.ApiModelProperty;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;

/**
 * <p>登录模型
 * 类{@code LoginModel} </br>
 * 创建时间2025/2/13 10:46
 * @author yangxt
 * @see
 */
public class LoginModel {
    @ApiModelProperty("登录密码")
    @NotEmpty(message = "登录密码不能为空")
    private String password;
    @ApiModelProperty("账号")
    @NotEmpty(message = "登录账号不能为空")
    private String account;
    @Valid
    @ApiModelProperty("校验图片模型")
    private VerifyImageModel verifyImageModel;
    @Valid
    @ApiModelProperty("文字验证码")
    private VerifyTextCodeModel verifyTextCodeModel;

    public VerifyImageModel getVerifyImageModel() {
        return verifyImageModel;
    }

    public void setVerifyImageModel(VerifyImageModel verifyImageModel) {
        this.verifyImageModel = verifyImageModel;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public VerifyTextCodeModel getVerifyTextCodeModel() {
        return verifyTextCodeModel;
    }

    public void setVerifyTextCodeModel(VerifyTextCodeModel verifyTextCodeModel) {
        this.verifyTextCodeModel = verifyTextCodeModel;
    }
}
